<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>数字微调器之对齐方式 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Number Spin Alignment">数字微调器之对齐方式</h2>
	<p title="This example shows how to set different spin alignments on numberspinner.">　　本例展示如何对数字微调器设置前头设置各种不同的对齐方式。</p>
	<div class="easyui-panel" style="width:100%;max-width:200px;padding:10px 20px;">
		<div style="margin-bottom:10px">
			<input class="easyui-numberspinner" value="30" data-options="label:'右对齐：',labelPosition:'top',spinAlign:'right'" style="width:100%;">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberspinner" value="30" data-options="label:'左对齐：',labelPosition:'top',spinAlign:'left'" style="width:100%;">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberspinner" value="30" data-options="label:'水平两端：',labelPosition:'top',spinAlign:'horizontal'" style="width:100%;">
		</div>
		<div style="margin-bottom:0px">
			<input class="easyui-numberspinner" value="30" data-options="label:'垂直两端：',labelPosition:'top',spinAlign:'vertical'" style="width:100%;max-width:60px;text-align:center">
		</div>
	</div>
</body>
</html>